<html>
<head>
	<meta charset="utf-8">
<script type="text/javascript" src="../jQuery-2.1.4.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
  $(".btn1").click(function(){
//  $("p").before($("div"));
      $("p").append($(".qq"));
  });
});
</script>
</head>
<body>
	<div class="qq">qqqqqqq</div>
<p>This is a paragraph.</p>
<div>ddddddddddd</div>
<button class="btn1">在每个段落前面插入新的段落</button>
</body>
</html>
